<template>
  <div>404</div>
  <button @click="goHome">返回首页</button>
</template>

<script lang="ts" setup>
// import { ref } from 'vue'
import { useRouter } from 'vue-router'
let $router = useRouter()
const goHome = () => {
  $router.push('/home')
}
</script>

<style lang="scss" scoped></style>
